<?php
namespace Mobile\Controller;
use Think\Controller;
class ArticleController extends BaseController {
    public function index($id){
    	$data = M('article')->where(array('is_delete' => 1))->find($id);
    	if(empty($data)) {
    		$this->error('ID错误', U('Index/index'));
    	}
    	$this->assign('data', $data);
    	$this->display();
    }
}